<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="decorator" uri="http://www.opensymphony.com/sitemesh/decorator" %>
<%@taglib prefix="page" uri="http://www.opensymphony.com/sitemesh/page" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title><decorator:title default="安徽宣城医药" /></title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta name="keywords" content="B2B医药电子商务" />
	<meta name="description" content="B2B医药电子商务" />
	<meta name="Copyright" content="Copyright @ B2B医药电子商务http://www.zc511.com" />
	<meta http-equiv="Expires" content="0" />
	<meta http-equiv="kiben" content="no-cache" />
	
	<%@include file="/views/jsp/include/cssAndJs.jsp" %>
	<style>
		.tabs-panels{
			overflow: hidden;
		}
	</style>
</head>
    <body>
        <decorator:body />
    </body>
<script type="text/javascript">
var serializeObject = function(form) {
	var o = {};
	$.each(form.serializeArray(), function(index) {
		if (this['value'] != undefined && this['value'].length > 0) {// 如果表单项的值非空，才进行序列化操作
			if (o[this['name']]) {
				o[this['name']] = o[this['name']] + "," + this['value'];
			} else {
				o[this['name']] = this['value'];
			}
		}
	});
	return o;
};

function closeDialog(id){
	$("#"+id).dialog('close');
}
/**样式方法  **/
function cellStyler(value,row,index){
    if (value == 'A'){
        return 'background-color:#ffee00;color:red;';
    }
    else if (value == 'B'){
        return 'background-color:#E6C763;color:blue;';
    }
    else if (value == 'C'){
    	return 'background-color:#E8AEE2;color:red;';
    }
}
</script>
</html>